<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script type="text/javascript" src="__PUBLIC/js/jquery.js"></script>
<script>
function chk()
{
	p1 = $('#pwd').val();
	p2 = $('#pwd2').val();
	if(p1 =='')
		{
		alert('密码不能为空');
		return false;
		}
	if(p1 != p2)
		{
		alert('两次密码不一至');
		return false;
		}
}

</script>
</head>
<body>
<form action="__URL__/savepassword" method="post" onsubmit="return chk()">
密码：<input type="text" name="password" id="pwd" /> <br />
确认密码:<input type="password" id="pwd2" /> <br />
<input type="submit" />

</form>
</body>
</html>